<!DOCTYPE>
<html>
    <head>
        <meta charset="utf-8">
        <link rel="dns-prefetch" href="//cdn.yangkeduo.com">
        <link rel="dns-prefetch" href="//apiv4.yangkeduo.com">
        <link rel="dns-prefetch" href="//api.pinduoduo.com">
        <link rel="dns-prefetch" href="//pinduoduoimg.yangkeduo.com">
        <link rel="dns-prefetch" href="//omsproduction.yangkeduo.com">
        <link rel="dns-prefetch" href="//avatar.yangkeduo.com">
        <link rel="icon" type="image/x-icon">
        <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
        <meta name="format-detection" content="telephone=no">
        <meta http-equiv="Cache-Control" content="no-cache,no-store,must-revalidate">
        <meta http-equiv="Pragma" content="no-cache">
        <meta http-equiv="Expires" content="0">
        <meta property="og:title" content="共为在这儿">
        <title>共为在这儿注册邀请</title>
        <script src="./js/constants.js"></script>
    </head>

    <style>
        * {
            margin: 0;
            padding: 0;
        }
        html, body, #app{
            height: 100%;
        }
    </style>

    <script>
        function getParamValue(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
            var r = window.location.search.substr(1).match(reg);
            if (r != null) return unescape(r[2]); return '';
        }
    </script>
    <body>
        <div id="app"></div>
    </body>
    <script src="./js/yq.js?a=688555"></script>
    <script src="./js/openApp.js?a=688555"></script>
    <script>
        var grid = getParamValue('grid');
        var  appType = grid = getParamValue('appType');
        if (!appType || appType == undefined) {
            appType = getParamValue('apptype');
        }
        if (grid != '1' && appType && appType == 'GRID_HOME') {
            grid = 1;
        }

        // 设置成网格家图标
        var icon_url= grid == 1 ? 'images/ic_logo_grid.jpg' : 'images/ic_logo.png';
        var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
        link.type = 'image/x-icon';
        link.rel = 'shortcut icon';
        link.href = icon_url;
        document.getElementsByTagName('head')[0].appendChild(link);
        document.title = grid == '1' ? '网格家邀请' : '共为在这儿邀请';
    </script>
</html>
